import { EntityModel } from "@midwayjs/orm";
import {Column, PrimaryColumn} from 'typeorm'

@EntityModel('store')
export class Store {
    @PrimaryColumn({type: 'bigint'})
    id:number;

    @Column()
    name:string;

    @Column()
    storenum:number;

    @Column()
    password:string;

    @Column()
    phone:string;

    @Column()
    address:string;
}